<!DOCTYPE html>
<html lang="zn-CN">
<head>
    <meta charset="UTF-8">
    <title>js与sql工具</title>
    <link href="../../css/sql_shell/sqlShell.css" rel="stylesheet" type="text/css"/>
    <script>contextName="../.."</script>
    <script src="../../lib/common/handle.js" lib="jQuery,util,tools,swiDialog,messageContent,codemirror,swiProcess"></script>
    <script src="../../js/sql_shell/sqllShell.js"></script>
</head>
<body>
    <div class="top-content">
        <div class="jdbc-content">
            <table>
                <tbody>
                <tr>
                    <td colspan="2">数据库连接基本信息</td>
                </tr>
                <tr>
                    <td>配置文件：</td>
                    <td id="configFileText"></td>
                </tr>
                <tr>
                    <td>驱动文件:</td>
                    <td><input type="text" placeholder="选择驱动地址" id="jarFileTextField" style="cursor:pointer;" readonly/></td>
                </tr>
                <tr>
                    <td>驱动类路径:</td>
                    <td><input type="text" placeholder="键入驱动类名" id="classNameTextField"/></td>
                </tr>
                <tr>
                    <td>jdbc连接地址:</td>
                    <td><input type="text" placeholder="键入连接地址" id="connectionTextField"/></td>
                </tr>
                <tr>
                    <td>用户名:</td>
                    <td><input type="text" placeholder="键入用户名" id="usernameTextField"/></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input type="password" placeholder="键入密码" id="passwordTextField"/></td>
                </tr>
                <tr>
                    <td colspan="2">我希望使用ssh隧道</td>
                </tr>
                <tr>
                    <td>ssh服务器地址:</td>
                    <td><input type="text" placeholder="键入服务器ip" id="sshIpTextField"/></td>
                </tr>
                <tr>
                    <td>ssh端口号:</td>
                    <td><input type="text" placeholder="键入ssh端口号" id="sshPortTextField" value="22"/></td>
                </tr>
                <tr>
                    <td>用户名:</td>
                    <td><input type="text" placeholder="键入服务器用户名" id="sshUsernameTextField"/></td>
                </tr>
                <tr>
                    <td>密码:</td>
                    <td><input type="password" placeholder="键入服务器密码" id="sshPasswordTextField"/></td>
                </tr>
                <tr>
                    <td>代理服务ip:</td>
                    <td><input type="text" placeholder="键入代理服务ip" id="proxyIpTextField"/></td>
                </tr>
                <tr>
                    <td>代理服务端口号:</td>
                    <td><input type="text" placeholder="键入代理服务端口号" id="proxyPortTextField"/></td>
                </tr>
                <tr>
                    <td>目标服务ip:</td>
                    <td><input type="text" placeholder="键入目标服务器ip" id="targetIpTextField"/></td>
                </tr>
                <tr>
                    <td>目标服务端口号:</td>
                    <td><input type="text" placeholder="键入目标服务器端口号" id="targetPortTextField"/></td>
                </tr>
                <tr>
                    <td colspan="2" align="right">
                        <button id="chooseConfigBtn" class="info-btn">选择</button>
                        <button id="saveAsConfigBtn" class="success-btn">另存为</button>
                        <button id="testConnectionBtn">测试</button>
                        <button id="applyConnectionInfoBtn">应用</button>
                    </td>
                </tr>
                </tbody>
            </table>
        </div>
        <div class="result-content">
            控制台v0.1<br>
            请调用printApi()方法查看已提供的方法参数。
        </div>
    </div>
    <div class="code-content">
        <textarea id="codeTextArea"></textarea>
    </div>
    <div class="cover-content">
        <div class="process-root"></div>
    </div>
</body>
</html>